local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1
L0_1 = {}
L0_1.group_id = 133210362
L1_1 = {}
L2_1 = {}
L2_1.config_id = 362001
L2_1.monster_id = 21010501
L3_1 = {}
L3_1.x = -4061.31
L3_1.y = 203.853
L3_1.z = -1410.869
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 71.239
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 30
L2_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L2_1.disableWander = true
L2_1.pose_id = 32
L2_1.area_id = 17
L3_1 = {}
L3_1.config_id = 362002
L3_1.monster_id = 21010501
L4_1 = {}
L4_1.x = -4046.463
L4_1.y = 203.787
L4_1.z = -1427.327
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 45.012
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 30
L3_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L3_1.disableWander = true
L3_1.pose_id = 32
L3_1.area_id = 17
L4_1 = {}
L4_1.config_id = 362003
L4_1.monster_id = 21030601
L5_1 = {}
L5_1.x = -4024.747
L5_1.y = 203.74
L5_1.z = -1395.107
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 78.761
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L4_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L4_1.disableWander = true
L4_1.pose_id = 9012
L4_1.area_id = 17
L5_1 = {}
L5_1.config_id = 362026
L5_1.monster_id = 21020701
L6_1 = {}
L6_1.x = -4046.186
L6_1.y = 206.163
L6_1.z = -1413.197
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 251.573
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 30
L5_1.drop_tag = "\228\184\152\228\184\152\230\154\180\229\190\146"
L5_1.disableWander = true
L5_1.pose_id = 401
L5_1.area_id = 17
L6_1 = {}
L6_1.config_id = 362027
L6_1.monster_id = 21011601
L7_1 = {}
L7_1.x = -4070.798
L7_1.y = 206.109
L7_1.z = -1387.426
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 315.934
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L6_1.disableWander = true
L6_1.pose_id = 9002
L6_1.area_id = 17
L7_1 = {}
L7_1.config_id = 362028
L7_1.monster_id = 21011601
L8_1 = {}
L8_1.x = -4069.134
L8_1.y = 206.069
L8_1.z = -1390.812
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 122.314
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 30
L7_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L7_1.disableWander = true
L7_1.pose_id = 9002
L7_1.area_id = 17
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 362004
L2_1.gadget_id = 70950092
L3_1 = {}
L3_1.x = -4061.066
L3_1.y = 199.725
L3_1.z = -1411.08
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 5.351
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 18
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.area_id = 17
L3_1 = {}
L3_1.config_id = 362005
L3_1.gadget_id = 70950092
L4_1 = {}
L4_1.x = -4046.295
L4_1.y = 199.725
L4_1.z = -1428.198
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 2.529
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 18
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.area_id = 17
L4_1 = {}
L4_1.config_id = 362006
L4_1.gadget_id = 70290182
L5_1 = {}
L5_1.x = -4044.642
L5_1.y = 199.725
L5_1.z = -1412.546
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 51.202
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 18
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.area_id = 17
L5_1 = {}
L5_1.config_id = 362007
L5_1.gadget_id = 70950087
L6_1 = {}
L6_1.x = -4059.201
L6_1.y = 199.998
L6_1.z = -1407.573
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 100.235
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 18
L5_1.area_id = 17
L6_1 = {}
L6_1.config_id = 362008
L6_1.gadget_id = 70950087
L7_1 = {}
L7_1.x = -4041.436
L7_1.y = 199.998
L7_1.z = -1426.872
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 247.668
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 18
L6_1.area_id = 17
L7_1 = {}
L7_1.config_id = 362009
L7_1.gadget_id = 70290060
L8_1 = {}
L8_1.x = -4054.086
L8_1.y = 204.043
L8_1.z = -1411.475
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 4.936
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 18
L7_1.area_id = 17
L8_1 = {}
L8_1.config_id = 362010
L8_1.gadget_id = 70290060
L9_1 = {}
L9_1.x = -4045.926
L9_1.y = 203.948
L9_1.z = -1420.976
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 272.904
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 18
L8_1.area_id = 17
L9_1 = {}
L9_1.config_id = 362011
L9_1.gadget_id = 70211002
L10_1 = {}
L10_1.x = -4043.822
L10_1.y = 205.79
L10_1.z = -1410.676
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 227.035
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 26
L9_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\168\187\229\166\187"
L10_1 = GadgetState
L10_1 = L10_1.ChestLocked
L9_1.state = L10_1
L9_1.isOneoff = true
L9_1.persistent = true
L10_1 = {}
L10_1.name = "chest"
L10_1.exp = 1
L9_1.explore = L10_1
L9_1.area_id = 17
L10_1 = {}
L10_1.config_id = 362015
L10_1.gadget_id = 70290057
L11_1 = {}
L11_1.x = -4041.246
L11_1.y = 199.997
L11_1.z = -1431.07
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 142.056
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 30
L10_1.area_id = 17
L11_1 = {}
L11_1.config_id = 362016
L11_1.gadget_id = 70290057
L12_1 = {}
L12_1.x = -4062.901
L12_1.y = 199.997
L12_1.z = -1416.636
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 211.65
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 30
L11_1.area_id = 17
L12_1 = {}
L12_1.config_id = 362017
L12_1.gadget_id = 70290057
L13_1 = {}
L13_1.x = -4059.151
L13_1.y = 199.998
L13_1.z = -1379.592
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 145.175
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 30
L12_1.area_id = 17
L13_1 = {}
L13_1.config_id = 362018
L13_1.gadget_id = 70290057
L14_1 = {}
L14_1.x = -4027.732
L14_1.y = 199.998
L14_1.z = -1388.575
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 348.918
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 30
L13_1.area_id = 17
L14_1 = {}
L14_1.config_id = 362020
L14_1.gadget_id = 70290180
L15_1 = {}
L15_1.x = -4028.246
L15_1.y = 199.998
L15_1.z = -1413.177
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 342.436
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 30
L14_1.area_id = 17
L15_1 = {}
L15_1.config_id = 362021
L15_1.gadget_id = 70290180
L16_1 = {}
L16_1.x = -4044.427
L16_1.y = 199.999
L16_1.z = -1386.728
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 342.436
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 30
L15_1.area_id = 17
L16_1 = {}
L16_1.config_id = 362022
L16_1.gadget_id = 70290180
L17_1 = {}
L17_1.x = -4071.596
L17_1.y = 199.997
L17_1.z = -1408.092
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 342.436
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 30
L16_1.area_id = 17
L17_1 = {}
L17_1.config_id = 362023
L17_1.gadget_id = 70290182
L18_1 = {}
L18_1.x = -4069.448
L18_1.y = 199.725
L18_1.z = -1387.945
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 348.202
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 30
L18_1 = GadgetState
L18_1 = L18_1.GearStart
L17_1.state = L18_1
L17_1.area_id = 17
L18_1 = {}
L18_1.config_id = 362024
L18_1.gadget_id = 70950092
L19_1 = {}
L19_1.x = -4024.902
L19_1.y = 199.725
L19_1.z = -1394.897
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 223.442
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 30
L19_1 = GadgetState
L19_1 = L19_1.GearStart
L18_1.state = L19_1
L18_1.area_id = 17
L19_1 = {}
L19_1.config_id = 362025
L19_1.gadget_id = 70690005
L20_1 = {}
L20_1.x = -4058.116
L20_1.y = 199.998
L20_1.z = -1400.395
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 227.982
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 30
L19_1.area_id = 17
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1362012
L2_1.name = "ANY_GADGET_DIE_362012"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_GADGET_DIE_362012"
L2_1.action = "action_EVENT_ANY_GADGET_DIE_362012"
L3_1 = {}
L3_1.config_id = 1362013
L3_1.name = "ANY_GADGET_DIE_362013"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_362013"
L3_1.action = "action_EVENT_ANY_GADGET_DIE_362013"
L4_1 = {}
L4_1.config_id = 1362014
L4_1.name = "ANY_MONSTER_DIE_362014"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_362014"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_362014"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "GroupCompletion"
L2_1.value = 0
L2_1.no_refresh = false
L3_1 = {}
L3_1.configId = 2
L3_1.name = "remainingHeat"
L3_1.value = 3
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 3
L4_1.name = "wave"
L4_1.value = 0
L4_1.no_refresh = false
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 362019
L3_1.gadget_id = 70290181
L4_1 = {}
L4_1.x = -4024.902
L4_1.y = 199.998
L4_1.z = -1394.897
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 136.203
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 30
L3_1.area_id = 17
L2_1[1] = L3_1
L1_1.gadgets = L2_1
garbages = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 362001
L5_1 = 362002
L6_1 = 362003
L7_1 = 362026
L8_1 = 362027
L9_1 = 362028
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 362004
L5_1 = 362005
L6_1 = 362006
L7_1 = 362007
L8_1 = 362008
L9_1 = 362009
L10_1 = 362010
L11_1 = 362011
L12_1 = 362015
L13_1 = 362016
L14_1 = 362017
L15_1 = 362018
L16_1 = 362020
L17_1 = 362021
L18_1 = 362022
L19_1 = 362023
L20_1 = 362024
L21_1 = 362025
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_GADGET_DIE_362012"
L5_1 = "ANY_GADGET_DIE_362013"
L6_1 = "ANY_MONSTER_DIE_362014"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 362004 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_362012 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 362009
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_362012 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 362005 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_362013 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 362010
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_362013 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCountByGroupId
  L3_2 = A0_2
  L4_2 = 133210362
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_362014 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 362011
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_362014 = L1_1
